/*
 * @Descripttion: 文件说明
 * @version: V1.0
 * @Author: GW
 * @Date: 2021-08-28 15:03:48
 * @LastEditors: GW
 * @LastEditTime: 2022-01-08 13:39:44
 */
const getters = {
    device: state => state.app.device,
    theme: state => state.app.theme,
    color: state => state.app.color,
    token: state => state.user.token,
    avatar: state => state.user.avatar,
    nickname: state => state.user.name,
    welcome: state => state.user.welcome,
    menus: state => state.user.menus,
    menusMap: state => state.user.menusMap,
    roles: state => state.user.roles,
    permissions: state => state.user.permissions,
    userInfo: state => state.user.info,
    addRouters: state => state.permission.addRouters,
    whiteList: state => state.permission.whiteList,
    multiTab: state => state.app.multiTab,
    //   lang: state => state.i18n.lang,
    tabMap: state => state.tab.tabMap,
    isCurrentPageOnEdit: state => state.operation.isCurrentPageOnEdit,
};

export default getters;
